import request from "@/utils/request";
//1. 用户列表
export function findAll() {
  return request({
    url:'/user/findAll.do',
    method:'get'
  })
}
//2. 添加用户
export function add(data) {
  return request({
    url:'/user/add.do',
    method:'post',
    data
  })
}
//3. 文件上传
export function uploadFile(data,headers) {
  return request({
    url: '/user/sync_upload.do',
    method: 'post',
    data,
    headers
  })
}
